package com.panda.cn.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author: menghao.yan
 * @create: Created in 2021-12-28 15:00:05
 * @description: 实体对象 
 */

@Data
@TableName("sys_user")
public class SysUserEntity extends BaseEntity {
    /*用户唯一编码用于业务关联 */
    @TableField
    private String name;
    /*用户名 */
    @TableField
    private String code;
    /*登陆账户 */
    @TableField
    private String account;
    /*登陆密码 */
    @TableField
    private String password;
    /*手机号 */
    @TableField
    private String phone;
    /*性别业务主键 */
    @TableField
    private String sex;
    /*部门业务主键 */
    @TableField
    private String deptCode;
    /*部门业务名称 */
    @TableField(exist = false)
    private String deptName;
    /*岗位业务名称 */
    @TableField(exist = false)
    private List<String> jobCodes;
    /*角色业务名称 */
    @TableField(exist = false)
    private List<String> roleCodes;
    
    /*岗位业务编码 */
    @TableField(exist = false)
    private String jobCodeStr;
    /*岗位业务名称 */
    @TableField(exist = false)
    private String jobNameStr;
    /*角色业务名称 */
    @TableField(exist = false)
    private String roleCodeStr;
    /*角色业务名称 */
    @TableField(exist = false)
    private String roleNameStr;
    /*用户下菜单列表 */
    @TableField(exist = false)
    private List<SysMenuEntity> menus;
    
    
}